﻿using DataAccess.Services.Constants;

namespace BusinessLogic.Mappers.DocumentEnvelopeStatus.Mapping
{
	class DocumentEnvelopeStatusMapping : EnumMapping<Connectivity.Entities.DocumentEnvelopeStatus, int>
	{
		static DocumentEnvelopeStatusEnum DocumentEnvelopeStatusEnum
		{
			get { return DocumentEnvelopeStatusEnum.Instance; }
		}

		static DocumentEnvelopeStatusMapping()
		{
			AddMapping(Connectivity.Entities.DocumentEnvelopeStatus.Processed, DocumentEnvelopeStatusEnum.Processed);
			AddMapping(Connectivity.Entities.DocumentEnvelopeStatus.NotAccepted, DocumentEnvelopeStatusEnum.NotAccepted);
			AddMapping(Connectivity.Entities.DocumentEnvelopeStatus.Received, DocumentEnvelopeStatusEnum.Received);
		}
	}
}